package com.yuneec.droneservice.protocol.analysis;


import com.yuneec.droneservice.tools.RCLog;

/**
 * Created by zd.zhang on 2017/4/17.
 */

public abstract class CameraStreamReceiver extends IMessageReceiver {
    public static final int CAMERA_ID = 9528;

    public CameraStreamReceiver() {
        super();
    }

    @Override
    public abstract void handleMessage(Analysis.Message msg);

    @Override
    public int getMessageId() {
        return CAMERA_ID;
    }

    @Override
    public void catchException(Throwable e) {
        RCLog.d("receive camera stream error", e);
    }
}
